",{class:l.wrapperClassName}).stop().css({display:i,height:o.outerHeight(!0),width:e.width.indexOf("%")>=0||"auto"==e.width&&"inline-block"!=i&&"inline"!=i?(o.css("width",parseFloat(o.css("width"))),e.width):"auto"!=e.width||"inline-block"!=i&&"inline"!=i?"auto"==e["margin-left"]?o.outerWidth():o.outerWidth(!0):o.width(),margin:e["margin-left"]?"auto":null,position:function(){var t=o.css("position");return"static"==t?"relative":t}(),float:e.float||null,left:e.left,right:e.right,top:e.top,bottom:e.bottom,"vertical-align":"top"});return o.wrap(n),7===s&&0===t("head").find("style#hcsticky-iefix").length&&t('").appendTo("head"),o.parent()}();if(!o.data("hcStickyInit")){o.data("hcStickyInit",!0);var d=!(!l.stickTo||!("document"==l.stickTo||l.stickTo.nodeType&&9==l.stickTo.nodeType||"object"==typeof l.stickTo&&l.stickTo instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document))),u=l.stickTo?d?a:"string"==typeof l.stickTo?t(l.stickTo):l.stickTo:c.parent();o.stop().css({top:"auto",bottom:"auto",left:"auto",right:"auto"}),n.load(function(){o.outerHeight(!0)>u.height()&&(c.css("height",o.outerHeight(!0)),o.hcSticky("reinit"))});var h=function(t){o.hasClass(l.className)||(t=t||{},o.stop().css({position:"fixed",top:t.top||0,left:t.left||c.offset().left}).addClass(l.className),l.onStart.apply(o[0]),c.addClass("sticky-active"))},p=function(t){(t=t||{}).position=t.position||"absolute",t.top=t.top||0,t.left=t.left||0,"fixed"!=o.css("position")&&parseInt(o.css("top"))==t.top||(o.stop().css({position:t.position,top:t.top,left:t.left}).removeClass(l.className),l.onStop.apply(o[0]),c.removeClass("sticky-active"))},f=!1,m=!1,v=function(){if(b(),g(),l.on){if(l.responsive){m||(m=o.clone().attr("style","").css({visibility:"hidden",height:0,overflow:"hidden",paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}),c.after(m));var t=c.style("width"),e=m.style("width");"auto"==e&&"auto"!=t&&(e=parseInt(o.css("width"))),e!=t&&c.width(e),f&&clearTimeout(f),f=setTimeout(function(){f=!1,m.remove(),m=!1},250)}if("fixed"==o.css("position")?o.css("left",c.offset().left):o.css("left",0),o.outerWidth(!0)!=c.width()){var i="border-box"==o.css("box-sizing")||"border-box"==o.css("-moz-box-sizing")?c.width():c.width()-parseInt(o.css("padding-left"))-parseInt(o.css("padding-right"));i=i-parseInt(o.css("margin-left"))-parseInt(o.css("margin-right")),o.css("width",i)}}};o.pluginOptions("hcSticky",{fn:{scroll:function(){if(l.on&&o.is(":visible")){if(o.outerHeight(!0)>=u.height())return void p();var e,i=l.innerSticker?t(l.innerSticker).position().top:l.innerTop?l.innerTop:0,a=c.offset().top,s=u.height()-l.bottomEnd+(d?0:a),f=c.offset().top-l.top+i,m=o.outerHeight(!0)+l.bottom,v=n.height(),g=n.scrollTop(),b=o.offset().top,w=b-g;if(void 0!==l.remember&&l.remember){var y=b-l.top-i;return void(m-i>v&&l.followScroll?g>y&&g+v<=y+o.height()&&(l.remember=!1):l.remember.offsetTop>y?y>=g&&(h({top:l.top-i}),l.remember=!1):g>=y&&(h({top:l.top-i}),l.remember=!1))}g>f?s+l.bottom-(l.followScroll&&m>v?0:l.top)<=g+m-i-(m-i>v-(f-i)&&l.followScroll&&(e=m-v-i)>0?e:0)?p({top:s-m+l.bottom-a}):m-i>v&&l.followScroll?v>=w+m?"down"==r.direction?h({top:v-m}):0>w&&"fixed"==o.css("position")&&p({top:b-(f+l.top-i)-r.distanceY}):"up"==r.direction&&b>=g+l.top-i?h({top:l.top-i}):"down"==r.direction&&b+m>v&&"fixed"==o.css("position")&&p({top:b-(f+l.top-i)-r.distanceY}):h({top:l.top-i}):p()}},resize:v}});var g=function(){if(l.offResolutions){t.isArray(l.offResolutions)||(l.offResolutions=[l.offResolutions]);var e=!0;t.each(l.offResolutions,function(t,i){0>i?n.width()<-1*i&&(e=!1,o.hcSticky("off")):n.width()>i&&(e=!1,o.hcSticky("off"))}),e&&!l.on&&o.hcSticky("on")}};g(),n.on("resize",v);var b=function(){var o=!1;t._data(e,"events").scroll!=i&&t.each(t._data(e,"events").scroll,function(t,e){e.handler==l.fn.scroll&&(o=!0)}),o||(l.fn.scroll(!0),n.on("scroll",l.fn.scroll))};b()}}))}})}(jQuery,this),function(t,e){"use strict";t.fn.extend({pluginOptions:function(e,i,n,o){return this.data(e)||this.data(e,{}),e&&void 0===i?this.data(e).options:"object"==typeof(n=n||i||{})||void 0===n?this.each(function(){var a=t(this);a.data(e).options?a.data(e,t.extend(a.data(e),{options:t.extend(a.data(e).options,n||{})})):(a.data(e,{options:t.extend(i,n||{})}),o&&(a.data(e).commands=o))}):"string"==typeof n?this.each(function(){var i=t(this).data(e).commands;i&&i[n]&&i[n].call(this)}):this}})}(jQuery),jQuery,function(t){function e(e,i){this.element=e[0],this.$element=e,this.overflowElements=[],this.elementsWidth=0,this.lastExecutedBR=0,this.handleBR=!1,this.enable=!0,this.options=t.extend({childClass:!1,mustDisplayClass:!1,menuContainerTag:"div",menuContainerClass:"bs-pretty-tabs-container",menuContainerPosition:"beginning",itemsWrapperSelector:!1,moreContainer:'
More ',getContainerWidth:function(t){return t},initWrapperContainer:function(t){return t},styleChangesAt:[]},i),this.options.styleChangesAt.length&&(this.handleBR=!0,this.options.styleChangesAt=this.options.styleChangesAt.sort(function(t,e){return t>e})),this.init()}t.extend(e.prototype,{init:function(){function e(){if(i.handleBR&&i.enable){var e=i.getCurrentBR();e!==i.lastExecutedBR&&(i.retrieveElements(!0),i.getItems().each(function(){var e=t(this);i._updateElementWidth(e)}),i.lastExecutedBR=e)}i.handlePrettyTabs()}var i=this;t(window).on("resize.bsPrettyTabs",e),i.$element.addClass("bs-pretty-tabs bs-pretty-tabs-initialized"),e()},getItemsWrapper:function(){return this.options.itemsWrapperSelector?this.$element.find(this.options.itemsWrapperSelector):this.$element},getItems:function(t){return this.getItemsWrapper().children(t)},getCurrentBR:function(){var t=0;for(i=0;i
=window.outerWidth){t=this.options.styleChangesAt[i];break}return t},handlePrettyTabs:function(){var e=this;if(e.enable){e.collectOverflowElements(),e.overflowElements.length?e.overflowElements.forEach(function(t){e.moveToInvisibleContainer(t)}):e.retrieveElements();var i=this._getTotalWidth(),n=this._getMenuLinkWidth(),o=this._getMenuContainer();if(i",{class:this.options.menuContainerClass});return(e=this.options.initWrapperContainer.call(this,e)).append(this.options.moreContainer),"end"===this.options.menuContainerPosition?e.appendTo(this.getItemsWrapper()):e.prependTo(this.getItemsWrapper()),e.on("mouseover",function(){t(this).addClass("display-more-items")}).on("mouseout",function(){t(this).removeClass("display-more-items")}).on("click",function(){t(this).toggleClass("display-more-items")}),e},_getMenuLinkWidth:function(t){var e=this.options.menuContainerClass,i=this.$element.find("."+e+" .bs-pretty-tabs-more"),t=t||!1;return i.length||t?this._getElementWidth(i)||0:(this._setMenuContainer(),this._getMenuLinkWidth(!0))},_getTotalWidth:function(){return this.options.getContainerWidth.call(this,this.$element.width())},getInvisibleElementsContainer:function(){return t(".bs-pretty-tabs-elements",this._getMenuContainer())},moveToInvisibleContainer:function(e){var i=this.getInvisibleElementsContainer(),n=t(e);n.data("bs-visibility","hidden"),n.prependTo(i)},moveToVisibleContainer:function(t){var e=this._getMenuContainer();t.data("bs-visibility","visible"),"end"===this.options.menuContainerPosition?t.insertBefore(this._getMenuContainer()):t.appendTo(e.parent())},collectOverflowElements:function(){var e=this._getTotalWidth(),i=this;this.overflowElements=[],this.elementsWidth=i._getMenuLinkWidth();var n=0;this.getItems().each(function(){var o=t(this);o.hasClass(i.options.menuContainerClass)||(n=i._getElementWidth(o),i.elementsWidth+=n,i.elementsWidth>e&&(o.hasClass(i.options.menuContainerClass)||i.options.mustDisplayClass&&o.hasClass(i.options.mustDisplayClass)||i.overflowElements.push(o)))}),1===i.overflowElements.length&&i.elementsWidth-i._getMenuLinkWidth()+nd?d:e}function i(t){return t.hasAttribute("data-no-resize")||(0===t.offsetWidth&&0===t.offsetHeight?(t.setAttribute("width",t.naturalWidth),t.setAttribute("height",t.naturalHeight)):(t.setAttribute("width",t.offsetWidth),t.setAttribute("height",t.offsetHeight))),t}function n(t,e){var n=t.nodeName.toLowerCase(),o=document.createElement("img");o.addEventListener("load",function(){"img"===n?i(t).setAttribute("src",e):t.style.backgroundImage="url("+e+")"}),o.setAttribute("src",e),t.setAttribute(f,!0)}function o(t,i){var o=e(arguments.length<=2||void 0===arguments[2]?1:arguments[2]);i&&o>1&&n(t,i.replace(u,"@"+o+"x$1"))}function a(t,e,i){d>1&&n(t,i)}function s(e){return e?"function"==typeof e.forEach?e:t(e):"undefined"!=typeof document?t(document.querySelectorAll(p)):[]}function r(t){return t.style.backgroundImage.replace(h,"$2")}function l(t){s(t).forEach(function(t){if(!t.getAttribute(f)){var e="img"===t.nodeName.toLowerCase()?t.getAttribute("src"):r(t),i=t.getAttribute("data-bsrjs"),n=!isNaN(parseInt(i,10));if(null===i)return;n?o(t,e,i):a(t,e,i)}})}var c="undefined"!=typeof window,d=c?window.devicePixelRatio||1:1,u=/(\.[A-z]{3,4}\/?(\?.*)?)$/,h=/url\(('|")?([^\)'"]+)('|")?\)/i,p="[data-bsrjs]",f="data-bsrjs-processed";c&&(window.addEventListener("load",l),window.bsrj_retinajs=l)}(),function(){var t=jQuery.fn.addClass;jQuery.fn.addClass=function(){var e=t.apply(this,arguments);return jQuery(this).trigger("cssClassChanged"),e}}();
var bsLazy,$bs_sticky_sidebars,docCookies={getItem:function(e){return e?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null:null},setItem:function(e,t,a,s,n,i){if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e))return!1;var o="";if(a)switch(a.constructor){case Number:o=a===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+a;break;case String:o="; expires="+a;break;case Date:o="; expires="+a.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+o+(n?"; domain="+n:"")+(s?"; path="+s:"")+(i?"; secure":""),!0},removeItem:function(e,t,a){return!!this.hasItem(e)&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(a?"; domain="+a:"")+(t?"; path="+t:""),!0)},hasItem:function(e){return!!e&&new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=e.length,a=0;a